﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Crossroad.Utils.Models
{
    /// <summary>
    /// 文件Dom类
    /// </summary>
    [Serializable]
    public class FileDom
    {
        /// <summary>
        /// 文件id
        /// </summary>
        public string id { set; get; }

        /// <summary>
        /// 文件名
        /// </summary>
        public string name { set; get; }

        /// <summary>
        /// 文件后缀名
        /// </summary>
        public string suffix { set; get; }

        /// <summary>
        /// 相对路径
        /// </summary>
        public string relativePath { set; get; }

        /// <summary>
        /// 根目录绝对路径
        /// </summary>
        public string rootPath { set; get; }

        /// <summary>
        /// 完整绝对路径
        /// </summary>
        public string fullPath { set; get; }

        /// <summary>
        /// 目录
        /// </summary>
        public string dir { set; get; }

        /// <summary>
        /// 文件数据
        /// </summary>
        public string data { set; get; }
    }
}
